<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/24 0024
 * Time: 14:23
 */
$fp  = fopen('./tmp/tempfile',"rb+"); //b 只限window系统

$block = fread($fp,4096);

fwrite($fp,$block);

fclose($fp);